def measure():
    print("测量开始....")
    temp = 39
    wetness = 50
    print("测量结束")
    #返回元组
    return temp, wetness

result = measure()
print(result)

print(result[0])
print(result[1])

# 使用多个变量接收返回的元组数据
gl_temp,gl_wetness = measure()
print(gl_temp)
print(gl_wetness)